package cn.cxion.chat.app.util;

import android.content.Context;
import android.view.View;

import com.lxj.xpopup.XPopup;
import com.lxj.xpopup.core.BasePopupView;

public class XpopoHelp {

    public static void showView(Context context, BasePopupView view){
        new XPopup.Builder(context)
                .moveUpToKeyboard(false) //如果不加这个，评论弹窗会移动到软键盘上面
                .asCustom(view)
                .show();
    }
}
